import React from 'react';
import { DatePicker } from '@maycur/antd5';
function DateFilter(props) {
    const { filterChange } = props;
    const handleChange = (v) => {        
        typeof filterChange === 'function' && filterChange([v.valueOf()])
    }
    return (
        <div>
            <DatePicker onChange={handleChange} />
        </div>
    );
}
export default DateFilter;